package com.example.zhaojianxu.signin.psychological.main

import android.os.Bundle
import android.view.View
import com.example.zhaojianxu.signin.R
import com.example.zhaojianxu.signin.bean.BaseActivity
import com.example.zhaojianxu.signin.common.info.InfoActivity
import com.example.zhaojianxu.signin.psychological.result.PResultActivity
import com.example.zhaojianxu.signin.psychological.test.TestActivity
import kotlinx.android.synthetic.main.activity_psyc_main.*
import kotlinx.android.synthetic.main.common_title_bar.*

/**
 * 心理
 */
class PsycMainActivity : BaseActivity() {

    override fun initView() {
        common_back.visibility = View.GONE
        common_setting.visibility = View.GONE
        activity_psyc_1.setOnClickListener {
            toOtherActivity(TestActivity::class.java)
        }

        activity_psyc_2.setOnClickListener {
            toOtherActivity(PResultActivity::class.java)
        }

        activity_psyc_3.setOnClickListener {
            toOtherActivity(InfoActivity::class.java)
        }
    }

    override fun initData() {
    }

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_psyc_main)
    }
}
